package com.fary.web.servlet.mvc.method.annotation;

import com.fary.ui.ExtendedModelMap;
import com.fary.web.context.request.NativeWebRequest;
import com.fary.web.servlet.ModelAndView;

import java.lang.reflect.Method;

public interface ModelAndViewResolver {

	/**
	 * Marker to be returned when the resolver does not know how to handle the given method parameter.
	 */
	ModelAndView UNRESOLVED = new ModelAndView();


	ModelAndView resolveModelAndView(Method handlerMethod, Class<?> handlerType,
									 Object returnValue, ExtendedModelMap implicitModel, NativeWebRequest webRequest);

}